]> dgit.raspbian.org Git - gnome-shell.git/commit
VolumeStatus: play notification on scroll
authorGiovanni Campagna <gcampagna@src.gnome.org>
Tue, 15 Feb 2011 18:23:36 +0000 (19:23 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 17 Feb 2011 14:35:17 +0000 (15:35 +0100)
commita1e019b41aa78911cbfa3d5a34f8ff83dcbdce38
treed32d50edf45bb79094bd12fe7b7ea24738bddf91
parenta80ed030ada01e66cbb19c3ddee88d710a805637
VolumeStatus: play notification on scroll

Add the machinery to cancel the notification when a new playing a
new one (wrapping ca_context_cancel), then use it when scrolling
the status icon.
Not doing it for the slider because it causes noise, either with the
keyboard, with mouse drag or with mouse wheel.

https://bugzilla.gnome.org/show_bug.cgi?id=633667
js/ui/status/volume.js
src/shell-global.c
src/shell-global.h